<?php
class model_newagk_basicbinding extends gdl_components_basemodel 
{

    public function primarykey() {
        return 'id';
    }

    public function tableName() {
        return 'agk_basic_binding';
    }
	
	public function binding($adminuserid) {
		$bindingid=[0];
		$binding = $this->select(['adminUserId'=>$adminuserid],'basicid')->items;
		foreach($binding as $v){
			$bindingid[] = $v['basicid'];
		}
        return $bindingid;
    }
    
    
}
